const origin = import.meta.env.VITE_ORIGIN
const originPro = 'https://www.banlift.com'
const ossMediaUrl = `${originPro}/oss/media`

export const ossMedia = {
  home_video_0: `${ossMediaUrl}/home_video_0.mp4`,
  home_video_1: `${ossMediaUrl}/home_video_1.mp4`,
  home_video_2: `${ossMediaUrl}/home_video_2.mp4`,
  home_video_3: `${ossMediaUrl}/home_video_3.mp4`,
  home_video_4: `${ossMediaUrl}/home_video_4.mp4`,
  home_video_5: `${ossMediaUrl}/home_video_5.mp4`,
}

export const ossPathImg = {
  mime_audio: 'index/mime_audio.png',
}

export const uploadUrl ={
  video: `${origin}/web-api/infra/file/videoUpload`,
  music: `${origin}/web-api/infra/file/musicUpload`,
  portrait: `${origin}/web-api/infra/file/upload`,
}

export const acceptType = {
  image: '.jpg,.jpeg,.png,.heic,.webp',
  video: '.mp4,.avi,.wmv,.rm,.rmvb,.mpg,.mpeg,.mpe,.vob,.mov,.flv,.dat,.mkv,.m4v,.webm',
  audio: 'audio/mpeg, audio/ogg, audio/wav',
  zip: '.rar,.zip,.7z',
  file: 'file/*',
}